Skip to main content
POST
/
audiences
/
attributes-values
Create an audience attribute value
curl --request POST \
  --url https://your_a2_service/audiences/attributes-values \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "code": "<string>",
  "value": "<string>"
}'
{
  "code": "<string>",
  "value": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json

Represents a audience attribute value entity.

code
string
required

Code representing the audience attribute.

This code serves as a key for properties in both AudienceSegment and Audience.

Required string length: 1 - 32
value
string
required

The value for the audience attribute value.

Response

Successful Response

Represents a audience attribute value entity.

code
string
required

Code representing the audience attribute.

This code serves as a key for properties in both AudienceSegment and Audience.

Required string length: 1 - 32
value
string
required

The value for the audience attribute value.